package messagesvc.common.enums;

import cn.ucloud.microsf.commonlib.enums.BaseEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

public enum SendStatus implements BaseEnum<Integer> {
    NONE(0, "未发送"),
    SUCCESS(1, "发送成功"),
    FAIL(1, "发送失败"),
    ;

    SendStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue
    @Getter
    private final Integer code;

    @Getter
    private final String desc;

}
